package com.ks.pc.dao;

import java.util.List;
import java.util.Map;

public interface Dao {

	Object save(String str, Object obj) throws Exception;

	Object update(String str, Object obj) throws Exception;

	<E> List<E> findForList(String str, Object obj) throws Exception;

	Object delete(String str, Object obj) throws Exception;

	<T> T findForObject(String str, Object obj) throws Exception;

	 <K, V> Map<K, V> findForMap(String sql, Object obj, String key, String value) throws Exception;

}
